﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 OrderLog (记录订单的操作记录及聊天信息) 
    /// 作者：     Wilson
    /// 日期：     2011/12/1
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class OrderLog
    {
        public OrderLog()
        {

        }

        #region Model

        private string _historyid;
        private string _orderid;
        private string _sender;
        private string _receiver;
        private string _title;
        private string _logcontent;
        private int _statusid;
        private int _state;
        private int _isdel;
        private DateTime _createdate = DateTime.Parse("1900-1-1");
        private DateTime _updatedate = DateTime.Parse("1900-1-1");
        private DateTime _begindate = DateTime.Parse("1900-1-1");
        private DateTime _enddate = DateTime.Parse("1900-1-1");

        /// <summary>
        /// 编号
        /// </summary>
        public string HistoryId
        {
            get { return _historyid; }
            set { _historyid = value; }
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderID
        {
            get { return _orderid; }
            set { _orderid = value; }
        }
        /// <summary>
        /// 发送方
        /// </summary>
        public string Sender
        {
            get { return _sender; }
            set { _sender = value; }
        }
        /// <summary>
        /// 接收方
        /// </summary>
        public string Receiver
        {
            get { return _receiver; }
            set { _receiver = value; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string LogContent
        {
            get { return _logcontent; }
            set { _logcontent = value; }
        }
        /// <summary>
        /// 消息类型编号
        /// </summary>
        public int StatusID
        {
            get { return _statusid; }
            set { _statusid = value; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            get { return _state; }
            set { _state = value; }
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
        /// <summary>
        /// 数据创建时间
        /// </summary>
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateDate
        {
            get { return _updatedate; }
            set { _updatedate = value; }
        }
        /// <summary>
        /// 动作生效时间
        /// </summary>
        public DateTime BeginDate
        {
            get { return _begindate; }
            set { _begindate = value; }
        }
        /// <summary>
        /// 动作结束时间 
        /// </summary>
        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        #endregion Model
    }
}
